const navArr=document.getElementsByClassName('navLi')
const opeArr=document.getElementsByClassName('opeLi')
for (let i = 0; i < navArr.length; i++) {
    navArr[i].addEventListener('click',()=>{
        for (let j = 0; j < navArr.length; j++) {
            navArr[j].classList.remove('active')
            navArr[i].classList.add('active')
            opeArr[j].classList.remove('show')
            opeArr[j].classList.add('hidden')
            opeArr[i].classList.remove('hidden')
            opeArr[i].classList.add('show')
        }
    })
}
